﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Mortgate
{
    public class MortgageTrans
    {
        public DateTime TransDate { get; set; }
        public string Code { get; set; }
        public int TransType { set; get; }
        public decimal Debit { set; get; }
        public decimal Credit { get; set; }
        public string ContractNo { set; get; }
        public string AccountNo { set; get; }

        public MortgageTrans() { }
        public MortgageTrans(string contractno, string accno, DateTime transdate, string code, int type, decimal debit, decimal credit)
        {
            ContractNo = contractno;
            AccountNo = accno;
            TransDate = transdate;
            Code = code;
            TransType = type;
            Debit = debit;
            Credit = credit;
        }
    }
}
